package Merlion.util.state;

import java.io.Serializable;

public class BOMEntryState implements Serializable {

    private Long id;
    private Long materialId;
    private String materialName;
    private double quantity;
    private String unit;

    public BOMEntryState(Long id, Long materialId, String materialName, double quantity, String unit) {
        this.id = id;
        this.materialId = materialId;
        this.materialName = materialName;
        this.quantity = quantity;
        this.unit = unit;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
